package tk.mybatis.springboot.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class TOrder implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 7115572953050927481L;

	//id
	private String id;
	
	//用户id
	private String userid;
	
	//业务员id
	private String countermanid;
	
	//创建时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date createdate;
	
	//金额
	private BigDecimal money;
	
	//商品id
	private String commodityid;
	
	//订单状态
	private Integer state;
	
	//商品数量
	private Integer count;
	
	private Integer transport;
	
	private String address;
	
	private String phone;
	
	private BigDecimal mileage_pay;
	
	private BigDecimal total_money;
		
	private String mileage;
	
	private String orderno;

	public String getOrderno() {
		return orderno;
	}

	public void setOrderno(String orderno) {
		this.orderno = orderno;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public BigDecimal getMileage_pay() {
		return mileage_pay;
	}

	public void setMileage_pay(BigDecimal mileage_pay) {
		this.mileage_pay = mileage_pay;
	}

	public BigDecimal getTotal_money() {
		return total_money;
	}

	public void setTotal_money(BigDecimal total_money) {
		this.total_money = total_money;
	}

	public String getMileage() {
		return mileage;
	}

	public void setMileage(String mileage) {
		this.mileage = mileage;
	}

	public Integer getTransport() {
		return transport;
	}

	public void setTransport(Integer transport) {
		this.transport = transport;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getCountermanid() {
		return countermanid;
	}

	public void setCountermanid(String countermanid) {
		this.countermanid = countermanid;
	}

	public Date getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public BigDecimal getMoney() {
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public String getCommodityid() {
		return commodityid;
	}

	public void setCommodityid(String commodityid) {
		this.commodityid = commodityid;
	}
	
	
}
